package com.cskaoyan.day1;

public class Common {
    public static void main(String[] args) {
        System.out.println("半径为10的园面积为:"+new Common().getArea(10));
    }

    public double getArea(double radius) {
        return Math.PI * radius * radius;
    }
}

